Skip to content

[WIP] feat: Turning Peer class into a generic that says what data type is exchanged#14

Open
moufmouf wants to merge 1 commit intomasterfrom
feat-generics
Open

[WIP] feat: Turning Peer class into a generic that says what data type is exchanged#14
moufmouf wants to merge 1 commit intomasterfrom
feat-generics

Conversation

@moufmouf
Copy link
Collaborator

The idea of this PR is to turn the Peer class into a generic that describes what kind of data is exchanged on the data channel.

TODO:

  • Improve this so that the "binary: true" can only be set on theUInt8Array subtype (and MUST be set)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant